Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-58297 | AOSX-09-000140 | SV-72727r1_rule | Medium |
Description |
---|
File Sharing is non-essential and must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized. |
STIG | Date |
---|---|
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide | 2017-01-05 |
Check Text ( C-59123r1_chk ) |
---|
Apple File (AFP) Sharing must be disabled. To check if Apple File (AFP) Sharing is disabled, run the following command: sudo /usr/libexec/PlistBuddy -c 'print com.apple.AppleFileServer:Disabled' /var/db/launchd.db/com.apple.launchd/overrides.plist If the returned value isn't 'true', this is a finding. |
Fix Text (F-63613r1_fix) |
---|
To disable Apple File (AFP) Sharing, run the following command: sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist 'com.apple.AppleFileServer' -dict Disabled -bool true |